home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
graphics
/
pbm
/
pbm_man.zoo
/
man1
/
pnmarith.1
< prev
next >
Wrap
Text File
|
1994-08-27
|
978b
|
67 lines
pnmarith(1) USER COMMANDS pnmarith(1)
NAME
pnmarith - perform arithmetic on two portable anymaps
SYNOPSIS
pnmarith -add|-subtract|-multiply _✓p_✓n_✓m_✓f_✓i_✓l_✓e_✓1 _✓p_✓n_✓m_✓f_✓i_✓l_✓e_✓2
DESCRIPTION
Reads two portable anymaps as input. Performs the specified
arithmetic operation, and produces a portable anymap as out-
put. The two input anymaps must be the same width and
height.
The arithmetic is performed between corresponding pixels in
the two anymaps, with maxval as 1.0, black as 0.0, and a
linear scale in between. Results that fall outside of
[0..1) are truncated.
All flags can be abbreviated to their shortest unique pre-
fix.
SEE ALSO
pbmmask(1), pbmpaste(1), pnminvert(1), pnm(5)
AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.
Sun Release 4.0 Last change: 13 January 1991 1